<?php

namespace common\models\xcx;

use Yii;

/**
 * This is the model class for table "hxdc_yuyuekanfang".
 *
 * @property int $id
 * @property int $ifcheck
 * @property string $khdh
 * @property int $kfrq
 * @property string $khxm
 * @property int $tjsj
 * @property string $yxlp
 * @property string $openid
 * @property int $tid
 */
class Yuyuekanfang extends \yii\db\ActiveRecord
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'hxdc_yuyuekanfang';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['ifcheck', 'kfrq', 'tjsj', 'tid'], 'integer'],
            [['khdh', 'khxm', 'yxlp', 'openid'], 'string', 'max' => 250],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'ifcheck' => 'Ifcheck',
            'khdh' => 'Khdh',
            'kfrq' => 'Kfrq',
            'khxm' => 'Khxm',
            'tjsj' => 'Tjsj',
            'yxlp' => 'Yxlp',
            'openid' => 'Openid',
            'tid' => 'Tid',
        ];
    }
}
